home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group03a.txt
/
000004_icon-group-sender_Tue Feb 4 12:55:29 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2003-12-22
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id h14JrQO23165
for icon-group-addresses; Tue, 4 Feb 2003 12:53:26 -0700 (MST)
Message-Id: <200302041953.h14JrQO23165@baskerville.CS.Arizona.EDU>
From: "Frank J. Lhota" <NOSPAM.lhota.adarose@verizon.net>
X-Newsgroups: comp.lang.icon
Subject: Time to replace wincap?
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Date: Tue, 04 Feb 2003 19:44:33 GMT
X-Complaints-To: abuse@verizon.net
To: icon-group@cs.arizona.edu
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
On the Unicon list, there has been a discussion of the use of the wincap
package. This package, available as a download from Microsoft, is used to
read / write bitmap files for the MS Windows implementations of the Icon
runtime. This started with the question as to whether there was any
copyright problem with wincap.
I worked with the wincap code while porting Icon to Cygwin, and this work
exposed another reason to replace wincap. Wincap was written in 1991 for Win
3.x, and it now contains many anachronisms.
- The wincap file I/O uses the pre-handle file API.
- They include routines for reading / writing data in blocks larger than
0xFFFF, a problem that does not exist with the Win32 API.
- The DIB handles are actually based on Win16 memory handles, a feature
that has been seriously depreciated in Win32.
Out of curiosity, I tried building the full wincap application with MSVC++
6.0, and failed! Apparently, the makefile that MS wrote for wincap includes
command line switches that are no longer supported.
A search for a more up-to-date replacement for wincap would therefore be
worthwhile, copyright issues aside.